<template>
  <li class="dropdwon-option" :class="{ 'is-disabled': disabled }">
    <slot></slot>
  </li>
</template>

<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
  props: {
    disabled: {
      type: Boolean,
      default: false,
    },
  },
});
</script>
<style>
.dropdwon-option.is-disabled * {
  color: rgb(140, 141, 143);
  pointer-events: none;
  background-color: transparent;
}
</style>
